package com.woniu.dao;

import com.woniu.entity.CreditChannel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CreditChannelDao {

    List<CreditChannel> listChannel(CreditChannel creditChannel);

    int addChannel(CreditChannel creditChannel);

    int updateChannel(CreditChannel creditChannel);

    int updateStatus(@Param("id") int id, @Param("stat") String stat);

    CreditChannel findById(@Param("id") int id);
}
